package com.training.food.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.training.food.pojo.Examine;
import com.training.food.pojo.Recordinfo;
import com.training.food.pojo.Slaughter;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
@Mapper
public interface RecordinfoMapper extends BaseMapper<Recordinfo> {
    Recordinfo find(String username);
    int insert(Recordinfo recordinfo);
    List<Recordinfo>lists(List<Slaughter> Slaughters);
    void update(Recordinfo recordinfo);
    Recordinfo select(String username);
    List<Recordinfo>selectRecords();
    List<Recordinfo>records(List<Examine> examines);
}
